package com.example.webtest.model;


/**
 * @author ytsonggy@yuntai.com
 * @description
 * @className DistributionMember
 * @date 2022/4/24 19:44
 * @copyright 版权归 HSYUNTAI 所有
 */
public class DistributionMember {

    /**
     * id
     */
    private Long id;

    /**
     * 姓名
     */
    private String name;

    /**
     * 手机号
     */
    private String phoneNo;

    /**
     * 分销等级
     */
    private String level;

    /**
     * 渠道id
     */
    private Long channelId;

    /**
     * 渠道名称
     */
    private String channelName;

    /**
     * 推广码
     */
    private String referralCode;

    /**
     * 推广码图片地址
     */
    private String referralAppletQr;

    /**
     * 创建时间
     */
    private String createTime;

    /**
     * 推荐人id
     */
    private Long parentId;

    /**
     * 推荐人
     */
    private String recommender;

    /**
     * 备注
     */
    private String remarks;

    /**
     * 登录用户名
     */
    private String loginUsername;

    /**
     * 登录密码
     */
    private String loginPassword;

    /**
     * 密码的盐
     */
    private String passwordSalt;

    /**
     * 角色去字典表(HPD_DISTRIBUTION_USER_ROLE)
     */
    private String role;

    /**
     * 账号状态, 1:启用；2，禁用
     */
    private String status;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPhoneNo() {
        return phoneNo;
    }

    public void setPhoneNo(String phoneNo) {
        this.phoneNo = phoneNo;
    }

    public String getLevel() {
        return level;
    }

    public void setLevel(String level) {
        this.level = level;
    }

    public Long getChannelId() {
        return channelId;
    }

    public void setChannelId(Long channelId) {
        this.channelId = channelId;
    }

    public String getChannelName() {
        return channelName;
    }

    public void setChannelName(String channelName) {
        this.channelName = channelName;
    }

    public String getReferralCode() {
        return referralCode;
    }

    public void setReferralCode(String referralCode) {
        this.referralCode = referralCode;
    }

    public String getReferralAppletQr() {
        return referralAppletQr;
    }

    public void setReferralAppletQr(String referralAppletQr) {
        this.referralAppletQr = referralAppletQr;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    public String getRecommender() {
        return recommender;
    }

    public void setRecommender(String recommender) {
        this.recommender = recommender;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public String getLoginUsername() {
        return loginUsername;
    }

    public void setLoginUsername(String loginUsername) {
        this.loginUsername = loginUsername;
    }

    public String getLoginPassword() {
        return loginPassword;
    }

    public void setLoginPassword(String loginPassword) {
        this.loginPassword = loginPassword;
    }

    public String getPasswordSalt() {
        return passwordSalt;
    }

    public void setPasswordSalt(String passwordSalt) {
        this.passwordSalt = passwordSalt;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getOldPassword() {
        return oldPassword;
    }

    public void setOldPassword(String oldPassword) {
        this.oldPassword = oldPassword;
    }

    @Override
    public String toString() {
        return "DistributionMember{" +
            "id=" + id +
            ", name='" + name + '\'' +
            ", phoneNo='" + phoneNo + '\'' +
            ", level='" + level + '\'' +
            ", channelId=" + channelId +
            ", channelName='" + channelName + '\'' +
            ", referralCode='" + referralCode + '\'' +
            ", referralAppletQr='" + referralAppletQr + '\'' +
            ", createTime='" + createTime + '\'' +
            ", parentId=" + parentId +
            ", recommender='" + recommender + '\'' +
            ", remarks='" + remarks + '\'' +
            ", loginUsername='" + loginUsername + '\'' +
            ", loginPassword='" + loginPassword + '\'' +
            ", passwordSalt='" + passwordSalt + '\'' +
            ", role='" + role + '\'' +
            ", status='" + status + '\'' +
            ", oldPassword='" + oldPassword + '\'' +
            '}';
    }

    public String getRole() {
        return role;
    }

    public void setRole(String role) {
        this.role = role;
    }

    /**
     * 旧的密码
     */
    private String oldPassword;
}
